package com.zjhn.ds.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.param
 * @Author: sxt
 * @CreateTime: 2023-09-28  10:56
 * @Description:
 * @Version: 1.0
 */
@Data
public class GetStationListParam {
    @ApiModelProperty("车间id")
    @JsonProperty("workshop_id")
    @NotBlank(message = "车间id不能为空")
    private String workshopId;

    @ApiModelProperty("明细id")
    @JsonProperty("pro_task_detail_id")
    @NotBlank(message = "明细id不能为空")
    private String proTaskDetailId;

    @ApiModelProperty("针数，为空表示查询全部")
    private String needle;
}
